package org.chen.common.scene.dto;

import lombok.Data;
import org.chen.common.scene.entity.CityCoordinate;
import org.chen.common.system.dto.CityAttractionDTO;

import java.util.List;

@Data
public class PagedAttractionResponse {
    private List<AttractionResponseDTO> attractions;
    private CityCoordinateResponseDTO coordinate;
    private Integer currentPage;
    private Integer pageSize;
    private Integer totalCount;
    private Boolean hasMore;
    private String totalCountDesc;

    public PagedAttractionResponse(List<AttractionResponseDTO> attractions,
                                 Integer currentPage, 
                                 Integer pageSize, 
                                 Integer totalCount, 
                                 Boolean hasMore,
                                 String totalCountDesc) {
        this.attractions = attractions;
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.totalCount = totalCount;
        this.hasMore = hasMore;
        this.totalCountDesc = totalCountDesc;
    }

    public PagedAttractionResponse(List<AttractionResponseDTO> attractions,
                                   CityCoordinateResponseDTO coordinate,
                                 Integer currentPage,
                                 Integer pageSize,
                                 Integer totalCount,
                                 Boolean hasMore,
                                 String totalCountDesc) {
        this.attractions = attractions;
        this.currentPage = currentPage;
        this.coordinate = coordinate;
        this.pageSize = pageSize;
        this.totalCount = totalCount;
        this.hasMore = hasMore;
        this.totalCountDesc = totalCountDesc;
    }
}